package com.crm.settings.mapper;

import com.crm.settings.domain.User;

import java.util.List;
import java.util.Map;

public interface UserMapper {

    int deleteByPrimaryKey(String id);


    int insert(User record);


    int insertSelective(User record);


    User selectByPrimaryKey(String id);


    int updateByPrimaryKeySelective(User record);


    int updateByPrimaryKey(User record);

    /*
    根据账号和密码查询数据
     */
    User selectUserByLoginActAndPwd(Map<String,Object> map);

    /*
    查询全部数据
     */
    List<User> selectAllUsers();
}